package pw.mcdarc.mc.bython.Nms.v1_8_R3;

import org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer;
import org.bukkit.entity.Player;
import pw.mcdarc.mc.bython.Bython;
import net.minecraft.server.v1_8_R3.*;

public class Tools {

    public String getVersion() {
        return Bython.nmsPackageName;
    }

    public void sendChatMessage(Player p, IChatBaseComponent msg) {
        CraftPlayer player = (CraftPlayer)p;
        player.getHandle().sendMessage(msg);
    }
}
